package com.example.orderservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.baseserver.moudel.Page;
import com.example.orderservice.pojo.po.OrderPO;
import com.example.orderservice.pojo.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 17:48
 * @Description //订单数据层
 */
@Mapper
@Repository
public interface OrderMapper extends BaseMapper<OrderPO> {

    public Page<OrderVO> getPage(@Param("page") Page page, @Param("vo") OrderVO vo);

    public List<OrderVO> getAllList(@Param("vo") OrderVO vo);
    public List<OrderVO> getcount(@Param("vo") OrderVO vo);

}
